<?php

class Core_Controller_Admin_Appearance_Layout extends Controller
{

    public function actionIndex($request, $response)
    {
        $table = Agis::getTable('core@render.layout');

        $select = $table -> select();

        $paginator = $response -> paginator = Zend_Paginator::factory($select);

        $paginator -> setCurrentPageNumber($request -> getParam('page', 1));
    }

    public function actionBlock($request, $response)
    {
        $table = Agis::getTable('core@render.block');

        $select = $table -> select();

        $paginator = $response -> paginator = Zend_Paginator::factory($select);

        $paginator -> setCurrentPageNumber($request -> getParam('page', 1));
    }

    public function actionElement($request, $response)
    {

    }

}
